package com.example.miniappssm.service;

import com.example.miniappssm.bean.GrowthNotes;
import com.example.miniappssm.bean.GrowthRecords;

import java.util.List;

public interface GrowthService {

    List<GrowthNotes> selectAllGrowthNotes();

    List<GrowthRecords> selectAllGrowthRecordByCropId(Integer cropId);

    void addNewCropNote(GrowthNotes growthNotes);

    void addNewCropRecord(GrowthRecords growthRecords);

    GrowthNotes selectGrowthNotesByGrowthCropId(Integer cropId);

    void updateGrowthNotes(GrowthNotes growthNotes);
}
